import React, { Component } from 'react'
import Far from './Far'
export default class App extends React.Component {
  state = {
    msg: 'hello react',
  }
  render() {
    return (
      <div>
        app
        <hr />
        <button
          onClick={() => {
            this.setState({
              msg: '',
            })
          }}
        >
          点击修改app的msg
        </button>
        <hr />
        <Far xxx={this.state.msg}></Far>
      </div>
    )
  }
}
